<?php

/**
 * @author Alexandr McArrow
 * @email alex.mcarrow@gmail.com
 * @company Macrox Lab
 * @copyright Macrox Lab by Alexandr McArrow 2008
 * @project WebCrypto
 */

$WC['root']=$_SERVER['DOCUMENT_ROOT']."/";
$WC['url']="http://webcrypto/";

$WC['DB']['host']="localhost";
$WC['DB']['name']="webcrypto";
$WC['DB']['user']="root";
$WC['DB']['pass']="65535";
$WC['DB']['char']="cp1251";

include_once "mysql.php";
MySQL_uni_connect($WC['DB']['host'],$WC['DB']['name'],$WC['DB']['user'],$WC['DB']['pass'],$WC['DB']['char'],$WC['url']);

include_once "user.php";
$USER = new WC_User;

$USER->Auth();

include_once $ROOT."JsHttpRequest.php";
$JsHTTPRequest = new JsHttpRequest('cp1251');

?>